Skip to content

test(enterprise): verify D9 restart recovery#107

Closed
Gracker wants to merge 1 commit into
feature/enterprise-multi-tenant-d8-provider-snapshotfrom
feature/enterprise-multi-tenant-d9-restart-recovery
Closed

test(enterprise): verify D9 restart recovery#107
Gracker wants to merge 1 commit into
feature/enterprise-multi-tenant-d8-provider-snapshotfrom
feature/enterprise-multi-tenant-d9-restart-recovery

Conversation

@Gracker
Copy link
Copy Markdown
Owner

@Gracker Gracker commented May 8, 2026

Summary

  • add D9 to the enterprise multi-window regression script
  • simulate backend restart with a file-backed SQLite close/reopen path
  • verify pending/running runs fail with recovery metadata, terminal runs remain completed, persisted AgentEvents replay, and trace metadata remains readable
  • mark README §0.7 D9 complete

Base

Verification

  • cd backend && npx jest --runInBand --forceExit src/scripts/tests/verifyEnterpriseMultiTenantWindows.test.ts
  • cd backend && npx jest --runInBand --forceExit src/services/tests/analysisRunStore.test.ts src/services/tests/agentEventStore.test.ts src/routes/tests/enterpriseRestartPersistence.test.ts
  • cd backend && npm run typecheck
  • git diff --check
  • npm run verify:pr

@Gracker
Copy link
Copy Markdown
Owner Author

Gracker commented May 9, 2026

已通过 commit 67856ec (merge) + 023a84a (frontend rebuild) 合入 main,关闭此 PR。

@Gracker Gracker closed this May 9, 2026
yun571 pushed a commit to yun571/SmartPerfetto that referenced this pull request May 11, 2026
…racker#19, Gracker#46, Gracker#65, Gracker#66, Gracker#106, Gracker#107)

GpuSurfaceFlingerContract is the joint root-cause contract for GPU,
SurfaceFlinger, and composition. Five facets (all optional, all with
explicit provenance):
- GpuRenderStage[] with vendorBucket for Mali / Adreno / PowerVR
  attribution (Spark Gracker#14)
- SurfaceFlingerComposition[] tracking HWC fallback and BufferStuffing
  (Spark Gracker#19)
- GpuMemorySnapshot[] for GPU memory pressure (Spark Gracker#14)
- GpuProfilerImport[] for AGI / Mali / Snapdragon / PowerVR / GameBench
  imports (Spark Gracker#65, Gracker#66, Gracker#106, Gracker#107)
- surfaceFlingerLatency for dumpsys SurfaceFlinger --latency parser
  output (Spark Gracker#46)

Plan: docs/superpowers/spark/plans/16-gpu-surfaceflinger-composition.md

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
yun571 pushed a commit to yun571/SmartPerfetto that referenced this pull request May 11, 2026
buildGpuSurfaceFlinger combines render-stage breakdown, SF compositions,
GPU memory snapshots, vendor profiler imports and SF latency parser
output into one GpuSurfaceFlingerContract with per-facet coverage:
- AGI imports flip Spark Gracker#65/Gracker#106 to implemented
- Vendor (mali / snapdragon / powervr) imports flip Spark Gracker#66/Gracker#107
- SF latency parser output flips Spark Gracker#46
- HWC composition rows flip Spark Gracker#19
- Render stages or GPU memory snapshots flip Spark Gracker#14

summarizeComposition() computes the HWC fallback rate and
BufferStuffing count over a window, useful for the report header.

Tests: 5 cases covering coverage promotion paths, unsupported, and the
composition summary statistics.

Plan: docs/superpowers/spark/plans/16-gpu-surfaceflinger-composition.md

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant